package com.woniuxy.oldmanapi.yvo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.woniuxy.oldmanapi.entity.Older;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@Data
public class OutApplicationVo {

    private Integer id;


    private Integer olderId;

    private Older older;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date outdatetime;


    private String outcause;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date backdatetime;


    private String outdays;


    private String outremark;


    private Integer backstatus;

}
